package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.dto.SpecGroupDTO;
import com.leyou.item.entitry.SpecGroup;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SpecGroupService extends IService<SpecGroup> {

    List<SpecGroupDTO>   listSpecGroupByCategory(Long cid);

    void  saveGroupSaveGroup(SpecGroupDTO specGroupDTO);

    void  updateGroupSaveGroup(SpecGroupDTO specGroupDTO);

    List<SpecGroupDTO>  listSpecGroupWithParams(Long id);
}